package com.itmuch.cloud.study.user.feign;

import org.springframework.cloud.netflix.feign.FeignClient;

import com.itmuch.cloud.study.user.entity.User;

import config.Configuration1;
import feign.Param;
import feign.RequestLine;

@FeignClient(name = "microservice-provider-user", configuration = Configuration1.class)
public interface UserFeignClient {
  @RequestLine("GET /{id}")
  public User findByIdFeign(@Param("id") Long id);

}
